using Identity.Domain.Aggregates;
using Identity.Infrastructure.Entities;

namespace Identity.Infrastructure.Persistence.IdentityService.Mappers;

public class RoleMapper
{
    public static ApplicationRole ToIdentityRole(Role role)
    {
        return new ApplicationRole
        {
            Id = role.Id,
            Name = role.Name
        };
    }


}